﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp3
{
    class FirstCompare : IComparer
    {
        public int Compare(object x, object y)
        {
            var c1 = x.ToString();
            var c2 = y.ToString();
            return c1.CompareTo(c2);
        }
    }
}
